package cn.ronghuanet.permission.mapper;

import cn.ronghuanet.basic.mapper.BaseMapper;
import cn.ronghuanet.permission.domain.Permission;
import cn.ronghuanet.permission.query.PermissionQuery;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {
    void deleteAll();

    List<Permission> tree();

    List<String> loadPermissionSnsByLoginUserId(Long loginUserId);
}
